// function formatPrice(value, point = 0) {
//   let amount = {};
//   const k = 10000;
//   const sizes = ["", "万", "亿", "万亿"];
//   let i;
//   if (value < k) {
//     amount = `${value}`;
//   } else {
//     i = Math.floor(Math.log(value) / Math.log(k));
//     // eslint-disable-next-line no-restricted-properties
//     amount = (value / Math.pow(k, i)).toFixed(point) + sizes[i];
//   }
//   return amount;
// }
// console.log(formatPrice("100000万"));

// function* fibs() {
//   let a = 0;
//   let b = 1;
//   let i = 0
//   console.log('-----')
//   while (true) {
//     console.log(++i,a,b)
//     yield a;
//     [a, b] = [b, a + b];
//   }
// }
// const generator = fibs()
// console.log(generator.next())
// console.log(generator.next())
// console.log(generator.next())
// console.log(generator.next())
// console.log(generator.next())
// console.log(generator.next())

// console.log(generator.next())


let url = new URL('https://nmb.eqianjin.com.cn:18089/jjccbWeb/index.html#')
console.log(url.hostname)